﻿<Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
             x:Class="AuthenticationService.Client.App"
             xmlns:app="clr-namespace:AuthenticationService.Client"
             xmlns:appsvc="clr-namespace:System.Windows.Ria.ApplicationServices;assembly=System.Windows.Ria"
             xmlns:prism="clr-namespace:Microsoft.Practices.Composite.Presentation.Regions;assembly=Microsoft.Practices.Composite.Presentation">
    <Application.Resources>
        
    </Application.Resources>

    <Application.ApplicationLifetimeObjects>
        <!-- 
          Quick Start:
           We need to add the generated WebContext to the application lifetime objects.
           Also, we'll use this opportunity to specify the type of authentication we're
           using and the domain context that was generated from our authentication
           domain service.
        -->
        <app:WebContext>
            <app:WebContext.Authentication>
                <appsvc:FormsAuthentication DomainContextType="AuthenticationService.Web.AuthenticationContext"/>
            </app:WebContext.Authentication>
        </app:WebContext>
    </Application.ApplicationLifetimeObjects>

</Application>
